
<table>
	<tr align="center">
		<th width="40">序号</th>
		<th>流水号</th>
		<th>员工</th>
		<th>帐号</th>
		<th>gw_id</th>
		<th>流量</th>
		<th>时长</th>
		<th>速率</th>
		<th>状态</th>
		
		<th>{[$orderby]}</th>
	</tr>
	{[foreach name=outer key=key item=item from=$result]} 
	{[assign var="no" value="`$key+$pager->from+1`"]}
	{[assign var="t1" value="`$t1+$item.bytes`"]}
	{[assign var="t2" value="`$t2+$item.time`"]}
	{[assign var="t3" value="`$item.bytes/$item.time`"]}
	
	<tr align="center" onMouseOver="this.style.backgroundColor='#D2E4FC'" onMouseOut="this.style.backgroundColor=''">
		<td>{[$no]}</td>
		<td><a href="javascript:void(0)" onclick="Common.dialog_view_('{[$root]}{[$viewLink]}&id={[$item.id]}', '查看信息', '650x420')">{[$item.id]}</a></td>
		<td><a href="javascript:void(0)" onclick="emp({[$item.emp]})">{[$item.emp_t]}</a></td>
		
		<td>{[$item.username]}</td>
		<td>{[$item.gw_id]}</td>
		
		<td>{[$item.bytes|printsize]}</td>
		<td>{[$item.time|time]}</td>
		<td>{[$t3|printsize]}</td>

		<td>{[$item.status_t]}</td>
		<td>{[$item.orderby_x]}</td>
	</tr>
	{[/foreach]}
	{[assign var="t4" value="`$t1/$t2`"]}
	<tr align="center">
		<td colspan="5"></td>
		<td>{[$t1|printsize]}</td>
		<td>{[$t2|time]}</td>
		<td>{[$t4|printsize]}</td>
		<td colspan="2"></td>
	</tr>
</table>

{[include file="footer.tpl"]}
